#!/bin/bash  
for var in *.png; 
do
  convert "$var" "${var%.png}.jpg"
done
